package com.yonggle.springbootdemo.generate;

import javax.xml.bind.annotation.*;

@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class Controllers {

    @XmlAttribute(name = "controller-ns")
    private String controllerNamespace;

    @XmlAttribute(name = "service-ns")
    private String serviceNamespace;

    @XmlElement(name = "controller", type = Controller.class)
    private Controller[] controllers;

    public String getControllerNamespace() {
        return controllerNamespace;
    }

    public void setControllerNamespace(String controllerNamespace) {
        this.controllerNamespace = controllerNamespace;
    }

    public String getServiceNamespace() {
        return serviceNamespace;
    }

    public void setServiceNamespace(String serviceNamespace) {
        this.serviceNamespace = serviceNamespace;
    }

    public Controller[] getControllers() {
        return controllers;
    }

    public void setControllers(Controller[] controllers) {
        this.controllers = controllers;
    }
}
